﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GpClassifier
{
    class DataRule
    {
        /**
         * Default contructor
         */
        public DataRule()
        {
        }
        
        /**
         * Full contructor
         */
        public DataRule(int oper, String score)
        {
            this.operatorRule = oper;
            this.scoreValue = score;
        }

        /**
	     * Compare operator. 
         *      - ">=", "<", "<=", ">" Contiguous data set. 
         *      - "=", "!=" on Discrete data set.
	     */
        int operatorRule;

        /**
	     * Value to compare with score data filed.
	     */
        String scoreValue;

        /**
	     * @return the operator
	     */
        public int getOperatorRule() {
		    return operatorRule;
	    }

        /**
	     * @param operatorRule
	     *            the operatorRule to set
	     */
        public void setOperatorRule(int operatorRule)
        {
            this.operatorRule = operatorRule;
        }

        /**
         * @return the scoreValue
         */
        public String getScoreValue()
        {
            return scoreValue;
        }

        /**
         * @param scoreValue
         *            the scoreValue to set
         */
        public void setScoreValue(String scoreValue)
        {
            this.scoreValue = scoreValue;
        }
    }
}
